﻿using ComLib.ComType;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KProcessor
{  
    /// <summary>
    /// 检测完成事件
    /// </summary>
    public class DetectFailedEventArgs : EventArgs
    {
        public readonly string ErrorMessage;
        public DetectFailedEventArgs(string error)
        {
            this.ErrorMessage = error;
        }
    };

    /// <summary>
    /// 身高测量过程完成事件
    /// </summary>
    public class MeasuringCompletedEventArgs : EventArgs
    {
        public readonly bool Success;
        public readonly int Result;
        public readonly string ErrorMessage;
        public MeasuringCompletedEventArgs(bool suc, int result, string error)
        {
            this.Success = suc;
            this.Result = result;
            this.ErrorMessage = error;
        }
    };   
}
